<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--sweetalert2-->
    <link href="../dist/sweetalert2.min.css" rel="stylesheet">
    <script src="../dist/sweetalert2.min.js" type="text/javascript"></script>
</head>
<body>

<div style=""></div>
<script>
    Swal.fire({
        position: 'center-right',     //    'top-end'  top-left  bottom-left  center-right    center-left
        icon: 'success',
        title: 'Your work has been saved',
        showConfirmButton: false,
       // timer: 1500                  //可以设置自动关闭时间
    })
</script>

</body>
</html>